package com.mc.code.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.mc.code.entity.*;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface UsersService {

    //根据用户编号查找用户信息
    List<CodeUsers> codeUsers (String userNo);

    void updateContact(CodeUsers codeUsers);

    String nickName(int promulgatorId);

    List<CodeUserId> userId(String userNo);

    void updateImage(CodeUsers user);

    List<CodeSkill> selectSkills();

    List<Skill> selectGoodSkills(String userNo);
//更新之前的删除
    void delSkill(Skill skill);
//更新的添加
    void insertSkill(Skill skill);


//    void recharge(double v);

    double selectBanlance(String userNo);

    void recharge(double v,String userNo);

    int selectPayCondition(String userNo);

    void updatePsd(String userNo, String psd);


}
